import java.net.InetAddress;
import java.net.UnknownHostException;

public class Test10 {
    public static void main(String[] args) throws UnknownHostException {
        InetAddress asus = InetAddress.getByName("ASUS");
        System.out.println(asus);
        System.out.println(asus.getHostName());
        System.out.println(asus.getHostAddress());

    }
}
